//
//  TrafficSignalTimer.h
//  Portable Traffic Signal Assistor
//
//  Created by Hao Xu on 4/5/12.
//  Copyright (c) 2012 TTU. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "XMLParser.h"
#import "TimerGroup.h"
#import "Signal.h"

@interface TrafficSignalTimer : NSObject

+ (int) calculateCycleTimer:(NSString *)timerGroupID signalID:(NSString *) signalID;
+ (int) calculateCycleTimer:(int) cycle offSet:(int)offSet syncTime:(NSString *)syncTime standardTimeOff:(int)standardTimeOff;
+ (int) calculateCycleTimer:(int) cycle time:(NSDate *)date offSet:(int)offSet syncTime:(NSString *)syncTime standardTimeOff:(int)standardTimeOff;
+ (NSString *) getCurrentTimeString;
+ (NSString *) getMasterTimeString:(NSString *)standardTimeOffset;
@end
